/*
 * @Author: 袁十一
 * @Date: 2023-09-24 16:34:34
 * @LastEditTime: 2023-10-18 16:39:59
 * @LastEditors: Please set LastEditors
 * @Description:
 * @FilePath: \Vue3_admin_template\src\components\index.ts
 * 初心不变，意志坚定
 */
import SvgIcon from './SvgIcon/index.vue'
import Category from './Category/index.vue'
import type { App } from 'vue'
const allGloabalComponents: any = { SvgIcon ,Category}
export default {
  install(app: App) {
    Object.keys(allGloabalComponents).forEach((key: string) => {
      app.component(key, allGloabalComponents[key])
    })
  },
}
